<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>DSpace Documentation : Google Scholar Metadata Mappings</title>
	    <link rel="stylesheet" href="styles/site.css" type="text/css" />
        <META http-equiv="Content-Type" content="text/html; charset=UTF-8">	    
    </head>

    <body>
	    <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
		    <tr>
			    <td valign="top" class="pagebody">
				    <div class="pageheader">
					    <span class="pagetitle">
                            DSpace Documentation : Google Scholar Metadata Mappings
                                                    </span>
				    </div>
				    <div class="pagesubheading">
					    This page last changed on Nov 08, 2010 by <font color="#0050B2">sands</font>.
				    </div>

				    <p>Google Scholar, in crawling sites, prefers a meta-tag schema of its own devising.&nbsp; This schema contains names which are all prefixed by the string "citation_", and provide various metadata about the article/item being indexed. &nbsp;<br class="atl-forced-newline" /></p>

<p>As of DSpace 1.7, there is a mapping facility to connect metadata fields with these citation fields in HTML.&nbsp; In order to enable this functionality, the switch needs to be flipped in dspace.cfg:<br class="atl-forced-newline" /></p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre> google-metadata.enable = true
</pre>
</div></div>
<p><br class="atl-forced-newline" /></p>

<p>Once the feature is enabled, the mapping is configured by a separate configuration file located here:<br class="atl-forced-newline" /></p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre> ${dspace.dir}/config/google-metadata.properties
</pre>
</div></div>
<p><br class="atl-forced-newline" /></p>

<p>This file contains name/value pairs linking meta-tags with DSpace metadata fields.&nbsp; E.g…<br class="atl-forced-newline" /></p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre> google.citation_title = dc.title
 google.citation_publisher = dc.publisher
 google.citation_authors = dc.author | dc.contributor.author | dc.creator
</pre>
</div></div>
<p><br class="atl-forced-newline" /></p>

<p>There is further documentation in this configuration file explaining proper syntax in specifying which metadata fields to use.&nbsp; If a value is omitted for a meta-tag field, the meta-tag is simply not included in the HTML output.<br class="atl-forced-newline" /></p>

<p>The values for each item are interpolated when the item is viewed, and the appropriate meta-tags are included in the HTML head tag, on both the Brief Item Display and the Full Item Display.&nbsp; This is implemented in the XMLUI and JSPUI.</p>

				    
                    			    </td>
		    </tr>
	    </table>
	    <table border="0" cellpadding="0" cellspacing="0" width="100%">
			<tr>
				<td height="12" background="https://wiki.duraspace.org/images/border/border_bottom.gif"><img src="images/border/spacer.gif" width="1" height="1" border="0"/></td>
			</tr>
		    <tr>
			    <td align="center"><font color="grey">Document generated by Confluence on Mar 25, 2011 19:21</font></td>
		    </tr>
	    </table>
    </body>
</html>